package com.sk.cardeal.view;

import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.LinearLayout;
import android.widget.ScrollView;

/**
 * Created by sk on 2018/1/13.
 */

public class MaxRecyclerView extends RecyclerView {

    public MaxRecyclerView(Context context) {
        super(context);
    }

    public MaxRecyclerView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MaxRecyclerView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
        Log.v("onMeasure",getMeasuredHeight()+"");
    }
}
